package com.jelly.string;

/**
 * 格式化输出
 * @author Jelly
 *
 */
public class SimpleFormat {
	public static void main(String[] args) {
		int x=5;
		double y = 5.332542;
		System.out.format("Row 1:[%d %f]", x,y);
		System.out.printf("Row 2:[%d %f]", x,y);
	}
}
